﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>修改密码</title>
    <link rel="stylesheet" type="text/css" href="/admin/css/css.css?2012-3-25">
    <link type="text/css" href="/inc/js/jquery-ui-1.8.18.custom/css/cupertino/jquery-ui-1.8.18.custom.css" rel="stylesheet" />
    <script type="text/javascript" src="/inc/js/jquery-1.7.1.min.js?2012-3-25"></script>
    <script type="text/javascript" src="/inc/js/jsformcheck/js.js?2012-3-25"></script>

    <script type="text/javascript" src="/inc/js/browser.js?2012-3-25"></script>
    <script type="text/javascript" src="/inc/js/jquery.form.js?2012-3-25"></script>
    <script type="text/javascript" src="/inc/js/forms.js?2012-3-25"></script>
    <script type="text/javascript" src="/inc/js/cookie.js?2012-3-25"></script>
    <script type="text/javascript" src="/inc/js/browser.js?2012-3-25"></script>
    <script type="text/javascript" src="/inc/js/ajax.js?2012-3-25"></script>

    <script type="text/javascript" src="/inc/js/jquery-ui-1.8.18.custom/js/jquery-ui-1.8.18.custom.min.js?2012-3-25"></script>
    <script type="text/javascript" src="/inc/js/webnote.js?2012-3-25"></script>
    <script type="text/javascript">
        function __formchangepasswordchker(event)
        {
	        var sPassword,sPassword1;
	        sPassword=document.getElementById("password").value;
	        sPassword1=document.getElementById("password1").value;
        	
	        if (!jsformcheck(event))
		        return false;
        	
	        if (!isOnlyEnglishAndNumber(sPassword))
	        {
		        alert("请以英文字母＋数字作为密码。");
		        return false;
	        }

	        if (sPassword.toString().length<6 || sPassword.toString().length>12)
	        {
		        gE("password").focus;
		        alert("[密码]长度错误!密码最少长度为6位，最大长度为12位。");
		        return false;
	        }
  
	        if (sPassword!=sPassword1)
	        {
		        alert("密码校验失败。您输入的[密码]与[确认密码]不一致。");
		        gE("password1").focus;
		        return false;
	        }
	        else
	        {
	            if (confirm("您确认要修改密码吗？修改密码后，将返回登录页面。"))
	            {
	                return true;
	            }
	        }

	        return true;
        }
    </script>
</head>
<body style="background-color:White">
           <form name="formchangepassword" id="formchangepassword" action="changepassword.aspx" method="POST" onsubmit="javascript:return __formchangepasswordchker(event);" target="_top">
              <table border="0" align="center" style="margin-top:50px">
                <tr>
                  <td>密码</td>
                  <td><input type="password" id="password" name="password" size="20" datatype="string" nullabled="false" maxlength="12" alerttext="密码"></td>
                </tr>
                <tr>
                  <td>确认密码</td>
                  <td><input type="password" id="password1" name="password1" size="20" datatype="string" nullabled="false" maxlength="12" alerttext="确认密码"></td>
                </tr>
                <tr>
                  <td colspan="2" width="100%"><div class="divHelp">请以英文字母＋数字作为密码，密码最少长度为6位，最大长度为12位。<br>
                      密码不区分大小写。</div></td>
                </tr>
                <tr>
                  <td></td>
                  <td><input type="submit" value="提交" name="btnSubmit" class="button51"></td>
                </tr>
              </table>
            </form>
</body>
</html>
